package com.sam.im.heiqun.entities;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.orm.SugarRecord;

import java.io.Serializable;

/**
 * Created by leijiawen on 2017/6/16.
 */
public class CircleEntivity extends SugarRecord implements Serializable {

    @Expose
    private int type;//聊天类型，动态 赞 评论
    @Expose
    private int fromType;//1：人对人消息，2：群消息，3：系统通知,101:本机消息
    @Expose
    private String imgUrl;//头像路径
    @Expose
    private String nick;//消息来源的昵称
    @Expose
    private long fromid;//消息来源的id
    @Expose
    private long destid;//接受消息方id
    @Expose
    private long time;//消息时间
    @Expose
    private long messageNum;//未读消息数量
    @Expose
    private long currentuserid;//当前用户
    @Expose
    private int isreceive;//1:正常接收；0：免打扰
    @SerializedName("uniqueness")
    @Expose
    private String uniqueness;//唯一（确定聊天项）

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getFromType() {
        return fromType;
    }

    public void setFromType(int fromType) {
        this.fromType = fromType;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public long getFromid() {
        return fromid;
    }

    public void setFromid(long fromid) {
        this.fromid = fromid;
    }

    public long getDestid() {
        return destid;
    }

    public void setDestid(long destid) {
        this.destid = destid;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public long getMessageNum() {
        return messageNum;
    }

    public void setMessageNum(long messageNum) {
        this.messageNum = messageNum;
    }

    public long getCurrentuserid() {
        return currentuserid;
    }

    public void setCurrentuserid(long currentuserid) {
        this.currentuserid = currentuserid;
    }

    public int getIsreceive() {
        return isreceive;
    }

    public void setIsreceive(int isreceive) {
        this.isreceive = isreceive;
    }

    public String getUniqueness() {
        return uniqueness;
    }

    public void setUniqueness(String uniqueness) {
        this.uniqueness = uniqueness;
    }
}
